package com.ftg.mall.base.entity.cms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.ftg.mall.base.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 话题表
 * </p>
 *
 * @author wangty
 * @since 2022-11-14
 */
@TableName("cms_topic")
@Data
@ApiModel(value = "Topic对象", description = "话题表")
public class Topic extends BaseEntity {


    private Long categoryId;

    private String name;

    private LocalDateTime createTime;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    @ApiModelProperty("参与人数")
    private Integer attendCount;

    @ApiModelProperty("关注人数")
    private Integer attentionCount;

    private Integer readCount;

    @ApiModelProperty("奖品名称")
    private String awardName;

    @ApiModelProperty("参与方式")
    private String attendType;

    @ApiModelProperty("话题内容")
    private String content;

}
